package com.wryyyyy.service;

import com.wryyyyy.dto.Result;
import com.wryyyyy.entity.Dish;
import com.baomidou.mybatisplus.extension.service.IService;

import java.awt.print.Book;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wryyyyy
 * @since 2023-11-12
 */
public interface IDishService extends IService<Dish> {
    Result queryById(String id);
    Result update(Dish dish);
    Result deleteById(String id);
    Result queryByCondition(String name, Integer current, Integer size, Integer number);
}